echo "教材代码复现:"
cd src
bash run.sh
cd ..

echo "测试实验代码, 请输入一个新字符串, 它将会转换大小写后输出"
read input
bash src/trans.sh $input

echo "按任意键生成实验报告"
read input
echo "正在生成实验报告..."
cd report
xelatex report.tex
rm *.aux
rm *.bcf
rm *.log
rm *.out
rm *.run.xml
mv report.pdf ..
cd ..